﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DatabaseCompare.Model;

namespace DatabaseCompare.Service.Reader
{
    
    /// <summary>
    /// 数据库信息读取接口.
    /// </summary>
    public interface IDatabaseInfoReader
    {


        /// <summary>
        /// 连接字符串.
        /// </summary>
        string ConnectString { set; get; }


        /// <summary>
        /// 数据库名.
        /// </summary>
        string DatabaseName { set; get; }


        /// <summary>
        /// 读取 数据库信息.
        /// </summary>
        /// <returns></returns>
        DatabaseInfo ReadDatabaseInfo();


    }

}
